package com.conti.service;

import com.conti.dto.EmployeeDTO;
import com.conti.dto.EmployeeLoginDTO;
import com.conti.dto.EmployeePageQueryDTO;
import com.conti.entity.Employee;
import com.conti.result.PageResult;

public interface EmployeeService {

    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);


    /**
     * 员工分页查询
     * @param employeePageQueryDTO
     * @return
     */
    PageResult pageQuery(EmployeePageQueryDTO employeePageQueryDTO);


    /**
     * 根据iD查询用户信息
     * @param id
     * @return
     */
    Employee getById(Long id);

}
